import { $POST } from '@/utils/services';
import type { ILoginParams, ILoginRes } from './index.d';

/**
 * 登录
*/
export const login = (params: ILoginParams) => $POST<ILoginRes, ILoginParams>('/sys/corp/account/login', params, { _formData: true, _msg: '登录成功！' })
